//变量
@import "config.scss";
$name: #main;

#{$name} p {
  color: $color_blue;
  width: 97%;

  .redbox {
    background-color: #ff0000;
    width:(20%+20%);
    color: #000000;
  }
  // .redbox:before {
  //   content: "Hi, Firefox users!";
  // }
}
//字符串
@mixin firefox-message($selector) {
  #main p #{$selector}:before {
    content: "His, Firefox users!";
  }
}
@include firefox-message(".redbox");
